<!DOCTYPE html>
<html lang = "en">
<head>
    <meta charset = "UTF-8">
    <title>趋数-智能人岗匹配系统</title>
    <link rel = "stylesheet" href = "../static/common.css">
    <link rel = "stylesheet" href = "../static/contact.css">
    <link rel = "stylesheet" href = "../static/bootstrap-4.0.0/dist/css/bootstrap.min.css">
    <link rel = "icon" type = "image/x-icon" href = "../static/images/bitbug_favicon.ico"/>
</head>
<body>
<div class = "app-container">
    <div class = "menu-container">
        <div class = "user-profile">
            <span>
                {% if user %}
                {{user.username}} <a href = "/login.html" style = "font-size:13px;">退出</a>
                {% else %}
                游客模式
                {% endif %}
            </span>
        </div>
        <div>
            <ul class = "menu-list">
                <li class = ""><a href = "main.html">简历搜索</a></li>
                <li class = "active"><a href = "contact.html">联系方式</a></li>
                <li class = ""><a href = "sysconfig.html">系统设置</a></li>
                {% if user['role'] == 'admin' %}
                <li class = ""><a href = "admin.html">管理员</a></li>
                {% endif %}
            </ul>
        </div>
    </div>
    <div class = "contact-container">
        <div class = "contact-container-inner">
            <div style = "float:left;width:50%;">
                {% for item in left_contact_list %}
                <div class = "resume-item">
                    <div class = 'resume-item-header'>
                        {{item['personal_info']['sex']}} {{item['personal_info']['age']}} {{item['personal_info']['exp']}} {{item['personal_info']['edu']}} <a target = "_blank" href = "/detail.html?id={{item['id']}}">查看</a>
                    </div>
                    <div style = "margin-top:15px;"><span style = "margin-left:20px;">期望从事职业 :</span><b style = "margin-left:10px;" id = "wanted_job">{{item['wanted_job']['title']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">期望工作地点 :</span><b style = "margin-left:10px;" id = "wanted_city">{{item['wanted_job']['location']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">当前状况 :</span><b style = "margin-left:10px;" id = "current_state">{{item['wanted_job']['current']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">期望从事行业 :</span><b style = "margin-left:10px;" id = "wanted_industry">{{item['wanted_job']['industry']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">期望薪资待遇 :</span><b style = "margin-left:10px;" id = "wanted_salary">{{item['wanted_job']['salary']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">联系方式 :</span><b style = "margin-left:10px;" id = "">{{item['contact_information']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">备注 :</span><b style = "margin-left:10px;" id = ""></b></div>
                </div>
                {% endfor %}
            </div>
            <div style = "float:right;width:50%;">
                {% for item in right_contact_list %}
                <div class = "resume-item">
                    <div class = 'resume-item-header'>
                        {{item['personal_info']['sex']}} {{item['personal_info']['age']}} {{item['personal_info']['exp']}} {{item['personal_info']['edu']}} <a target = "_blank" href = "/detail.html?id={{item['id']}}">查看</a>
                    </div>
                    <div style = "margin-top:15px;"><span style = "margin-left:20px;">期望从事职业 :</span><b style = "margin-left:10px;" id = "wanted_job">{{item['wanted_job']['title']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">期望工作地点 :</span><b style = "margin-left:10px;" id = "wanted_city">{{item['wanted_job']['location']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">当前状况 :</span><b style = "margin-left:10px;" id = "current_state">{{item['wanted_job']['current']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">期望从事行业 :</span><b style = "margin-left:10px;" id = "wanted_industry">{{item['wanted_job']['industry']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">期望薪资待遇 :</span><b style = "margin-left:10px;" id = "wanted_salary">{{item['wanted_job']['salary']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">联系方式 :</span><b style = "margin-left:10px;" id = "">{{item['contact_information']}}</b></div>
                    <div style = "margin-top:6px;"><span style = "margin-left:20px;">备注 :</span><b style = "margin-left:10px;" id = ""></b></div>
                </div>
                {% endfor %}
            </div>
        </div>
    </div>
</div>
<!--<script src = "bootstrap-4.0.0/dist/js/bootstrap.min.js"></script>-->
<script src = "../static/js/jquery.min.js"></script>
<script src = "../static/contact.js"></script>
</body>
</html>